projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf88c4
)
add /sbin to the $PATH for debian's ldconfig.
author
Vincent Hanquez
<vincent@xensource.com>
Tue, 20 Feb 2007 12:22:40 +0000
(12:22 +0000)
committer
Vincent Hanquez
<vincent@xensource.com>
Tue, 20 Feb 2007 12:22:40 +0000
(12:22 +0000)
use ldconfig -p instead of -v that doesn't require root privilege to work.
tools/check/check_zlib_lib
patch
|
blob
|
history
diff --git
a/tools/check/check_zlib_lib
b/tools/check/check_zlib_lib
index 92d879cedab99ea66af163184f953a2d5b0e303d..4e7282f618cdb4c58f0d62abc11d96e33b6689cc 100755
(executable)
--- a/
tools/check/check_zlib_lib
+++ b/
tools/check/check_zlib_lib
@@
-3,8
+3,10
@@
RC=0
+PATH=/sbin:$PATH
+
set -e
-ldconfig -
v
2>&1 | grep -q libz.so || RC=1
+ldconfig -
p
2>&1 | grep -q libz.so || RC=1
if test ${RC} -ne 0; then
echo